package com.example.blood_sugar.activities;

import android.os.Bundle;
import android.os.PersistableBundle;
import android.support.annotation.Nullable;
import android.support.v4.app.Fragment;

import com.example.blood_sugar.fragments.BloodSugarFragment;
import com.example.blood_sugar.fragments.BloodSugarFragment7days;
import com.example.blood_sugar.fragments.MainFragment;

public class MainActivity extends SingleFragmentActivity {

    @Override
    protected Fragment createFragment() {
        // 设置托管的Fragment为MainFragment
        return new MainFragment();
    }

}
